package com.example.music.mapper;

import com.example.music.model.Music;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface MusicMapper {
    int insert(String title, String singer, String time, String url,int
        userid);
    Music findMusicById(int id);
    int deleteMusicById(int id);
    Music findBylike(String Title);
    List<Music> findAll();
}
